package com.jeeplus.test.website.websiteContent.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jeeplus.test.website.websiteContent.domain.entity.WebsiteContent;
import com.jeeplus.test.website.websiteContent.domain.vo.WebsiteContentReqVo;
import com.jeeplus.test.website.websiteContent.domain.vo.WebsiteContentRespVo;

public interface WebsiteContentService extends IService<WebsiteContent> {
    Page<WebsiteContentRespVo> getContentPage(WebsiteContentReqVo websiteContentReqVo, long current, long size);

    WebsiteContentRespVo queryById(String id);


    Boolean addContent(WebsiteContentReqVo websiteContentReqVo);

    Boolean updateContent(WebsiteContentReqVo websiteContentReqVo);

    Boolean deleteContent(String id);

}
